package com.beamfield.dao.process;

import com.beamfield.model.ProcDadoGroup;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ProcDadoGroupMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProcDadoGroup record);

    int insertSelective(ProcDadoGroup record);

    ProcDadoGroup selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProcDadoGroup record);

    int updateByPrimaryKey(ProcDadoGroup record);

    long count(@Param("beamId") Long beamId);

    List<ProcDadoGroup> select(@Param("beamId") Long beamId,@Param("offset") String offset,@Param("limit") String limit);

    ProcDadoGroup selectByDadoIdAndGroupId(@Param("dado") String dado,@Param("group")String group, @Param("beamId") Long beamId);
}